<template>
    <div>
        <div class="topNav">
            <i class="closeIcon iconfont icon-fork"></i>
        </div>
        <div class="infoWrap">
            <span class="nameLabel">冷萃冰咖啡</span>
            <div class="explan">
                <p>轻甜香草风味奶油</p>
                <p>冷萃冰咖啡</p>
            </div>
            <p class="detail">在冷萃冰咖啡的基础上，添加香草风味轻奶油。每份轻奶油都是根据西雅图的星巴克咖啡研发团队精心研发的配方新鲜手工调制而成。</p>
        </div>
    </div>
</template>
<script>
export default {
    data() {
        return {

        }
    },
    methods: {

    },
    mounted() {
        var goodInfo = this.$route.query.item;
        console.log(goodInfo)
    }
}
</script>
<style lang="less" scoped>
.topNav {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;
    z-index:99;
    .closeIcon {
        position: absolute;
        width:80px;
        height:80px;
        text-align: center;
        line-height:80px;
        font-size:40px;
    }
}
.infoWrap{
    padding:80px 30px 0;
    .nameLabel{
        display: inline-block;
        height:50px;
        line-height: 50px;
        border-radius:50px;
        padding:0 20px;
        background:#29877A;
        color:#fff;
        font-size:24px;
    }
    .explan{
        p{
            font-size:32px;
            color:#fff;
        }
    }
}
</style>